USE [texchange_db]
GO

/****** Object:  StoredProcedure [dbo].[SP_InsUnivType]    Script Date: 05/29/2011 19:49:26 ******/
SET ANSI_NULLS ON
GO

SET QUOTED_IDENTIFIER ON
GO

CREATE proc [dbo].[SP_InsUnivType] 
  @id bigint,
  @orig_id bigint,
  @name nvarchar(150),
  @language_id int,
  @type_id int,
  @isActive bit
as
	INSERT INTO UniversalType ([name], [isActive], [language_id], [parent_id], [type], [type_id])
	VALUES (@name, @isActive, @language_id, @orig_id, '', @type_id)
Select @@Identity as lastID

SET NOCOUNT OFF
GO


